home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / Technical.Notes / GSOS / TN.GSOS.014 < prev   
Encoding:
Text File  |  1992-07-15  |  2.5 KB  |  58 lines  |  [TEXT/GEOL]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5. GS/OS
  6. #14: The Console Driver Technical Note
  7.  
  8. Written by: Matt Deatherage                                          May 1992
  9.  
  10. This Technical Note discusses the GS/OS Console Driver and related issues.
  11. _____________________________________________________________________________
  12.  
  13.  
  14. NEW 6.0 CHARACTER FEATURES DON'T WORK IN VERSION 3.2
  15.  
  16. The System Software 6.0 documentation (as of this writing, the GS/OS ERS)
  17. refers to a new Console Driver feature.  The Console Driver now has the
  18. capability to return direct character-in and character-out vectors for
  19. improved throughput (gained by bypassing most of GS/OS's overhead).  The
  20. vectors are obtained through new DStatus device-specific call $8007,
  21. GetVectors.
  22.  
  23. Unfortunately, in version 3.2 of the Console Driver (which ships with System
  24. Software 6.0), this call returns addresses which are almost the correct ones
  25. (in other words, they're wrong).  If DInfo says the Console Driver is version
  26. 3.2 or earlier, don't try to use the GetVectors feature.
  27.  
  28.  
  29. NO-WAIT MODE AND USER INPUT MODE CONFLICT
  30.  
  31. When you read from a GS/OS driver in no-wait mode, the driver is supposed to
  32. return as quickly as possible, reading as much information as possible and
  33. returning as soon as the request is filled or no more information is instantly
  34. available.  This is the opposite of wait mode, where the driver waits until
  35. the read can be finished even if it takes forever.
  36.  
  37. This philosophy directly conflicts with the Console Driver's user input
  38. routine (UIR) mode, where standard human interface editing functions are
  39. available.  For example, if you want to read seven characters from the Console
  40. Driver in UIR mode, the user should be able to type four characters and hit
  41. three backspaces and not worry that the read request will end since he pressed
  42. seven keys.  The entire concept of UIR mode is that the user can take his time
  43. and edit his input until he's happy with it, then press a terminator key to
  44. end editing.
  45.  
  46. This is how the Console Driver works, in fact, even in no-wait mode.  If you
  47. ask for even one character in UIR mode and no-wait mode, the Console Driver
  48. will let the user edit the one character until he presses a terminator.
  49.  
  50. If you want instant feedback, you must use raw input mode.
  51.  
  52.  
  53. Further Reference
  54. _____________________________________________________________________________
  55.  
  56.    o   GS/OS Reference
  57.    o   System 6.0 Documentation for GS/OS
  58.